package cn.bblocks.cacheTest.service;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import org.springframework.cache.annotation.CacheEvict;
import org.springframework.cache.annotation.CachePut;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.transaction.annotation.Transactional;

import com.alibaba.fastjson.JSONObject;

import cn.bblocks.cacheTest.model.Area;


public interface AreaService {

	 Area selectByCode(String code);
	 Area selectByPrimaryKey(Integer id) ;
	 

	 Area insertSelective(Area area) ;
	 
	
	 Area updateByPrimaryKey(Area area,String... fields);
	 

	 void deleteByPrimaryKey(Integer areaId) ;


	 
	 List<Area> getChildren(Integer areaId) ;
}